<meta charset="utf-8" />

<body>
    <p><a href="#" id="C00911">C00911</a></p>
    
</body>
<script>
    jq(document).ready(function() {

        // show a dialog box when clicking on a link
        jq('#C00911').bind('click', function(e) {
            e.preventDefault();
            jq.Zebra_Dialog('', {
                source:  {'ajax': 'index.php?option=com_popup&view=bg&task=popup&tmpl=component'},
                /*source: {'iframe': {
                    
                    'src':  'index.php?option=com_popup&view=bg&task=popup&tmpl=component',
                    'height': 450
                }},*/
                height: 750,
                width: 850,
                title:  '送信先選択',
                type:  '',
                buttons:  [
                    {caption: 'キャンセル', callback: function() { alert('"Yes" was clicked')}},
                    {caption: 'OK', callback: function() {                           
                             
                            if (document.adminForm.boxchecked.value==0){
                                alert('まず、リストから選択してください。');
                            }else{
                                alert(jq('#list_uid').val());
                            }
                            
                        }
                        
                    }
                ]
            });
        });
    
    
    
                        
     });
</script>
